<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<!-- <link rel="stylesheet" href="css/styles.css" type="text/css" />  -->
<title>action实例-动态调用</title>
</head>
<body>
<h1>动态调用(DMI Dynamic Method Invoke)</h1>

[actionname]![MethodName].action
<br />
弊端：全部都是公用一个ACTION里面的跳转<br/>
<a href="web/student1!student1.action">student1-1</a>
<a href="web/student1!student2.action">student1-2</a>
<a href="web/student1!student3.action">student1-3</a>
<a href="web/student1!student4.action">student1-4</a>

<hr/>
通配符
action name="*_*" class="cn.zcq100.action.{2}Action" method="{1}"
<br/>
<a href="add_User.action">添加用户</a><br/>
<a href="modify_User.action">修改用户</a><br/>
<a href="del_User.action">删除用户</a><br/>
<a href="query_User.action">查找用户</a><br/>
<a href="buy_Book.action">买书</a><br/>
<a href="send_Book.action">寄书</a><br/>
</body>
</html>